<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="js/axios-0.18.0.js"></script>
<script>
    axios({
        url:"http://localhost:8088/w9/axiosServlet",
        method:"post",
        data:"username=lisi"
    }).then(function (resp){
        alert(resp.data)
    })
</script>
</body>
</html>